[INFO] fetching crate blockish-caca 0.0.6...
[INFO] fixing blockish-caca-0.0.6 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate blockish-caca 0.0.6 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate blockish-caca 0.0.6
[INFO] finished tweaking crates.io crate blockish-caca 0.0.6
[INFO] tweaked toml for crates.io crate blockish-caca 0.0.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate blockish-caca 0.0.6 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate blockish-caca 0.0.6 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 22e57e817ed3db065b7406642d5700dd5205d1a84c3ee6a4f527942adc1dac90
[INFO] running `Command { std: "docker" "start" "22e57e817ed3db065b7406642d5700dd5205d1a84c3ee6a4f527942adc1dac90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "22e57e817ed3db065b7406642d5700dd5205d1a84c3ee6a4f527942adc1dac90" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22e57e817ed3db065b7406642d5700dd5205d1a84c3ee6a4f527942adc1dac90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "22e57e817ed3db065b7406642d5700dd5205d1a84c3ee6a4f527942adc1dac90" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]    Compiling memchr v2.3.0
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking lock_api v0.4.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]     Checking weezl v0.1.7
[INFO] [stderr]     Checking anstyle-parse v0.2.2
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking anstyle v1.0.4
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]     Checking fdeflate v0.3.0
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking half v2.2.1
[INFO] [stderr]     Checking clap_lex v0.5.1
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking anstream v0.6.4
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]     Checking bytemuck v1.14.0
[INFO] [stderr]     Checking aho-corasick v0.7.8
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking gif v0.12.0
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking regex-syntax v0.6.14
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking clap_builder v4.4.6
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking term_size v0.3.2
[INFO] [stderr]     Checking redhook v1.0.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking png v0.17.10
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rayon v1.8.0
[INFO] [stderr]     Checking exr v1.71.0
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]     Checking regex v1.3.4
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking gag v0.1.10
[INFO] [stderr]     Checking clap v4.4.6
[INFO] [stderr]     Checking blockish-player v0.0.5
[INFO] [stderr]     Checking jpeg-decoder v0.3.0
[INFO] [stderr]     Checking tiff v0.9.0
[INFO] [stderr]     Checking image v0.24.7
[INFO] [stderr]     Checking blockish v0.1.2
[INFO] [stderr]     Checking blockish-caca v0.0.6 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 18.65s
[INFO] [stderr] crater-edition-check: blockish-caca v0.0.6 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking blockish-caca v0.0.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &mut ENGINE {
[INFO] [stdout]    |               ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &raw mut ENGINE {
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &mut ENGINE {
[INFO] [stdout]    |               ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &raw mut ENGINE {
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 19.29s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking blockish-caca v0.0.6 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:55:20
[INFO] [stdout]     |
[INFO] [stdout]  55 |                 if TERMINAL_WIDTH != columns {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     TERMINAL_WIDTH = columns;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 if TERMINAL_HEIGHT != lines {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     TERMINAL_HEIGHT = lines;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:74:30
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if bwidth != TERMINAL_WIDTH || bheight != TERMINAL_HEIGHT {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:74:59
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if bwidth != TERMINAL_WIDTH || bheight != TERMINAL_HEIGHT {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 75 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 TERMINAL_WIDTH = bwidth;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 TERMINAL_HEIGHT = bheight;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |         if TERMINAL_SIZE_CHANGED {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             ENGINE = Some(ThreadedEngine::new(width as u32, height as u32, true));
[INFO] [stdout]    |             ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:88:36
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let original_width : u32 = WIDTH as u32;
[INFO] [stdout]    |                                    ^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:89:37
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let original_height : u32 = HEIGHT as u32;
[INFO] [stdout]    |                                     ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let raw_slice = slice::from_raw_parts(data, (original_width * original_height * BYTES_PER_PIXEL) as usize);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:91:89
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let raw_slice = slice::from_raw_parts(data, (original_width * original_height * BYTES_PER_PIXEL) as usize);
[INFO] [stdout]    |                                                                                         ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:92:20
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &mut ENGINE {
[INFO] [stdout]    |                    ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:95:127
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...dth as u32 + (x * original_width / width) ) * BYTES_PER_PIXEL)) as usize;
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         redhook::real!(caca_refresh_display)(arg1)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:128:19
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let res = redhook::real!(caca_create_dither)(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         WIDTH=_arg2;
[INFO] [stdout]     |         ^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         HEIGHT=_arg3;
[INFO] [stdout]     |         ^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |         BYTES_PER_PIXEL=_arg1 as u32 / 8;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &mut ENGINE {
[INFO] [stdout]    |               ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &raw mut ENGINE {
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/bin.rs from 2021 edition to 2024
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:55:20
[INFO] [stdout]     |
[INFO] [stdout]  55 |                 if TERMINAL_WIDTH != columns {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     TERMINAL_WIDTH = columns;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 if TERMINAL_HEIGHT != lines {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     TERMINAL_HEIGHT = lines;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:74:30
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if bwidth != TERMINAL_WIDTH || bheight != TERMINAL_HEIGHT {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:74:59
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if bwidth != TERMINAL_WIDTH || bheight != TERMINAL_HEIGHT {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 75 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 TERMINAL_WIDTH = bwidth;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 TERMINAL_HEIGHT = bheight;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |         if TERMINAL_SIZE_CHANGED {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             ENGINE = Some(ThreadedEngine::new(width as u32, height as u32, true));
[INFO] [stdout]    |             ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:88:36
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let original_width : u32 = WIDTH as u32;
[INFO] [stdout]    |                                    ^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:89:37
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let original_height : u32 = HEIGHT as u32;
[INFO] [stdout]    |                                     ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let raw_slice = slice::from_raw_parts(data, (original_width * original_height * BYTES_PER_PIXEL) as usize);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:91:89
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let raw_slice = slice::from_raw_parts(data, (original_width * original_height * BYTES_PER_PIXEL) as usize);
[INFO] [stdout]    |                                                                                         ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:92:20
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &mut ENGINE {
[INFO] [stdout]    |                    ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:95:127
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...dth as u32 + (x * original_width / width) ) * BYTES_PER_PIXEL)) as usize;
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         redhook::real!(caca_refresh_display)(arg1)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:128:19
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let res = redhook::real!(caca_create_dither)(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         WIDTH=_arg2;
[INFO] [stdout]     |         ^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         HEIGHT=_arg3;
[INFO] [stdout]     |         ^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |         BYTES_PER_PIXEL=_arg1 as u32 / 8;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &mut ENGINE {
[INFO] [stdout]    |               ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &raw mut ENGINE {
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 20.02s
[INFO] [stderr] crater-edition-check: blockish-caca v0.0.6 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking blockish-caca v0.0.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:55:20
[INFO] [stdout]     |
[INFO] [stdout]  55 |                 if TERMINAL_WIDTH != columns {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     TERMINAL_WIDTH = columns;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 if TERMINAL_HEIGHT != lines {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     TERMINAL_HEIGHT = lines;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:74:30
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if bwidth != TERMINAL_WIDTH || bheight != TERMINAL_HEIGHT {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:74:59
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if bwidth != TERMINAL_WIDTH || bheight != TERMINAL_HEIGHT {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 75 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 TERMINAL_WIDTH = bwidth;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 TERMINAL_HEIGHT = bheight;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |         if TERMINAL_SIZE_CHANGED {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             ENGINE = Some(ThreadedEngine::new(width as u32, height as u32, true));
[INFO] [stdout]    |             ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:88:36
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let original_width : u32 = WIDTH as u32;
[INFO] [stdout]    |                                    ^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:89:37
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let original_height : u32 = HEIGHT as u32;
[INFO] [stdout]    |                                     ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let raw_slice = slice::from_raw_parts(data, (original_width * original_height * BYTES_PER_PIXEL) as usize);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:91:89
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let raw_slice = slice::from_raw_parts(data, (original_width * original_height * BYTES_PER_PIXEL) as usize);
[INFO] [stdout]    |                                                                                         ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:92:20
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &mut ENGINE {
[INFO] [stdout]    |                    ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:95:127
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...dth as u32 + (x * original_width / width) ) * BYTES_PER_PIXEL)) as usize;
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         redhook::real!(caca_refresh_display)(arg1)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:128:19
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let res = redhook::real!(caca_create_dither)(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         WIDTH=_arg2;
[INFO] [stdout]     |         ^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         HEIGHT=_arg3;
[INFO] [stdout]     |         ^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |         BYTES_PER_PIXEL=_arg1 as u32 / 8;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &mut ENGINE {
[INFO] [stdout]    |               ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &raw mut ENGINE {
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:55:20
[INFO] [stdout]     |
[INFO] [stdout]  55 |                 if TERMINAL_WIDTH != columns {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:40:1
[INFO] [stdout]     |
[INFO] [stdout]  40 | / redhook::hook! {
[INFO] [stdout]  41 | |     unsafe fn caca_dither_bitmap(
[INFO] [stdout]  42 | |         _arg1: *mut CacaCanvasT,
[INFO] [stdout]  43 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockish-caca` (lib test) due to 1 previous error; 30 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     TERMINAL_WIDTH = columns;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 if TERMINAL_HEIGHT != lines {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     TERMINAL_HEIGHT = lines;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:74:30
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if bwidth != TERMINAL_WIDTH || bheight != TERMINAL_HEIGHT {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:74:59
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if bwidth != TERMINAL_WIDTH || bheight != TERMINAL_HEIGHT {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 75 |                     TERMINAL_SIZE_CHANGED = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 TERMINAL_WIDTH = bwidth;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 TERMINAL_HEIGHT = bheight;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |         if TERMINAL_SIZE_CHANGED {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             ENGINE = Some(ThreadedEngine::new(width as u32, height as u32, true));
[INFO] [stdout]    |             ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:88:36
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let original_width : u32 = WIDTH as u32;
[INFO] [stdout]    |                                    ^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:89:37
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let original_height : u32 = HEIGHT as u32;
[INFO] [stdout]    |                                     ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let raw_slice = slice::from_raw_parts(data, (original_width * original_height * BYTES_PER_PIXEL) as usize);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:91:89
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let raw_slice = slice::from_raw_parts(data, (original_width * original_height * BYTES_PER_PIXEL) as usize);
[INFO] [stdout]    |                                                                                         ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:92:20
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &mut ENGINE {
[INFO] [stdout]    |                    ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:95:127
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...dth as u32 + (x * original_width / width) ) * BYTES_PER_PIXEL)) as usize;
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         redhook::real!(caca_refresh_display)(arg1)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / redhook::hook! {
[INFO] [stdout] 109 | | unsafe fn caca_refresh_display(arg1: *mut CacaDisplayT) -> ::std::os::raw::c_int => my_caca_refresh_display {
[INFO] [stdout] 110 | |     {
[INFO] [stdout] 111 | |         let _print_gag = Gag::stdout().unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:128:19
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let res = redhook::real!(caca_create_dither)(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / redhook::hook! {
[INFO] [stdout] 118 | |     unsafe fn caca_create_dither(
[INFO] [stdout] 119 | |         _arg1: ::std::os::raw::c_int,
[INFO] [stdout] 120 | |         _arg2: ::std::os::raw::c_int,
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: this warning originates in the macro `redhook::hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         WIDTH=_arg2;
[INFO] [stdout]     |         ^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         HEIGHT=_arg3;
[INFO] [stdout]     |         ^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |         BYTES_PER_PIXEL=_arg1 as u32 / 8;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &mut ENGINE {
[INFO] [stdout]    |               ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 92 |         match &raw mut ENGINE {
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockish-caca` (lib) due to 1 previous error; 30 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "22e57e817ed3db065b7406642d5700dd5205d1a84c3ee6a4f527942adc1dac90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22e57e817ed3db065b7406642d5700dd5205d1a84c3ee6a4f527942adc1dac90", kill_on_drop: false }`
[INFO] [stdout] 22e57e817ed3db065b7406642d5700dd5205d1a84c3ee6a4f527942adc1dac90
